package com.nopay.cdxphone.bean.response;

import java.io.Serializable;
import java.util.List;

/**
 * @ProjectName: myVisualPhone
 * @Package: cn.cn.myvisualphone.bean.response
 * @ClassName: GetCallTaskListResponse
 * @Description: java类作用描述
 * @Author: anqi
 * @CreateDate: 2021/5/27 6:35
 * @UpdateUser: 更新者
 * @UpdateDate: 2021/5/27 6:35
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
public class GetCallTaskListResponse {

    private String code;
    private String msg;
    private Data data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public static class Data {

        private int page;
        private List<CallTask> records;

        public int getPage() {
            return page;
        }

        public void setPage(int page) {
            this.page = page;
        }

        public List<CallTask> getRecords() {
            return records;
        }

        public void setRecords(List<CallTask> records) {
            this.records = records;
        }

        public static class CallTask implements Serializable {
            private int id;
            private int type; // 1：导入拨号任务，2：手动拨号任务
            private String taskName;
            private String phone;
            private String createTime;
            private boolean isFileImport;
            private int callAllNum; // 呼叫任务号码总数量
            private int calledNum; // 呼叫任务号码已拨数量
            private float connected; // 接通率

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getTaskName() {
                return taskName;
            }

            public void setTaskName(String taskName) {
                this.taskName = taskName;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public boolean isFileImport() {
                return isFileImport;
            }

            public void setFileImport(boolean fileImport) {
                isFileImport = fileImport;
            }

            public int getCallAllNum() {
                return callAllNum;
            }

            public void setCallAllNum(int callAllNum) {
                this.callAllNum = callAllNum;
            }

            public int getCalledNum() {
                return calledNum;
            }

            public void setCalledNum(int calledNum) {
                this.calledNum = calledNum;
            }

            public float getConnected() {
                return connected;
            }

            public void setConnected(float connected) {
                this.connected = connected;
            }
        }
    }
}
